package com.jiazhong.spring.ioc.work.work02;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App {

    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("work.xml");
        Printer printer = context.getBean(Printer.class);
        printer.print("dshfjdshiuwqhfkjdsbfuewgedksdnvkjlsdgfiuefhgkasbeajklgfdisukheqkgdsiugfdkjfvdjklsf");


    }
}
